Skip to content

adding 800GBASE-2xFR4 and 800GBASE-DR8 PMD#1462

Open
rezachit wants to merge 3 commits intomasterfrom
rezachit/new-pmd
Open

adding 800GBASE-2xFR4 and 800GBASE-DR8 PMD#1462
rezachit wants to merge 3 commits intomasterfrom
rezachit/new-pmd

Conversation

@rezachit
Copy link
Copy Markdown
Contributor

[Note: Please fill out the following template for your pull request. Replace
all the text in [] with your own content.]

[Note: Before this PR can be reviewed please agree to the CLA covering this
repo. Please also review the contribution guide -
https://github.com/openconfig/public/blob/master/doc/contributions-guide.md]

Change Scope

  • Adding 800GBASE-2xFR4 and 800GBASE-DR8 PMD
  • It is backward compatible

Platform Implementations

[Note: Please provide at least two references to implementations which are relevant to the model changes proposed. Each implementation should be from separate organizations.].

[Note: If the feature being proposed is new - and something that is being
proposed as an enhancement to device functionality, it is sufficient to have
reviewers from the producers of two different implementations].

Tree View

  • [Please provide a view of the tree being modified. It's preferred if a diff format is used for ease of review.]
  • [Here are recommended steps to generate the tree view as a diff]
git checkout mychangebranch
pyang -f tree -p release/models/*/* > ~/new-tree.txt 
git checkout master
git pull
pyang -f tree -p release/models/*/* > ~/old-tree.txt
diff -bU 100 ~/old-tree.txt ~/new-tree.txt   | less

[Next, cut and paste the relevant portion of the tree with enough context for reviewers to quickly understand the change.]

 module: openconfig-interfaces
   +--rw interfaces
      +--rw interface* [name]
         +--ro state
         |  +--ro counters
         |  |  +--ro in-octets?               oc-yang:counter64
         |  |  +--ro in-pkts?                 oc-yang:counter64
         |  |  +--ro in-unicast-pkts?         oc-yang:counter64
         |  |  +--ro in-broadcast-pkts?       oc-yang:counter64
         |  |  +--ro in-multicast-pkts?       oc-yang:counter64
         |  |  +--ro in-errors?               oc-yang:counter64
         |  |  +--ro in-discards?             oc-yang:counter64
         |  |  +--ro out-octets?              oc-yang:counter64
         |  |  +--ro out-pkts?                oc-yang:counter64
         |  |  +--ro out-unicast-pkts?        oc-yang:counter64
         |  |  +--ro out-broadcast-pkts?      oc-yang:counter64
         |  |  +--ro out-multicast-pkts?      oc-yang:counter64
         |  |  +--ro out-discards?            oc-yang:counter64
         |  |  +--ro out-errors?              oc-yang:counter64
         |  |  +--ro last-clear?              oc-types:timeticks64
         |  |  +--ro in-unknown-protos?       oc-yang:counter64
         |  |  +--ro in-fcs-errors?           oc-yang:counter64
+        |  |  x--ro carrier-transitions?     oc-yang:counter64
-        |  |  +--ro carrier-transitions?     oc-yang:counter64
+        |  |  +--ro interface-transitions?   oc-yang:counter64
+        |  |  +--ro link-transitions?        oc-yang:counter64
         |  |  +--ro resets?                oc-yang:counter64

@rezachit rezachit requested a review from a team as a code owner March 31, 2026 14:23
@rezachit rezachit requested a review from dplore March 31, 2026 14:24
Copy link
Copy Markdown

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request adds the ETH_800GBASE_DR8 and ETH_800GBASE_2xFR4 Ethernet PMD types to the openconfig-transport-types YANG module. Feedback was provided to include specification references for both new identities and to capitalize the 'x' in ETH_800GBASE_2xFR4 to ensure naming consistency with existing definitions in the file.

Comment on lines +1312 to +1315
identity ETH_800GBASE_DR8 {
base ETHERNET_PMD_TYPE;
description "Ethernet compliance code: 800GBASE_DR8";
}
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

It is recommended to include a reference to the relevant IEEE standard (e.g., IEEE 802.3df) for this PMD type, consistent with other entries in this module.

Suggested change
identity ETH_800GBASE_DR8 {
base ETHERNET_PMD_TYPE;
description "Ethernet compliance code: 800GBASE_DR8";
}
identity ETH_800GBASE_DR8 {
base ETHERNET_PMD_TYPE;
description "Ethernet compliance code: 800GBASE_DR8";
reference "IEEE 802.3df";
}

Comment on lines +1317 to +1320
identity ETH_800GBASE_2xFR4 {
base ETHERNET_PMD_TYPE;
description "Ethernet compliance code: 800GBASE_2xFR4";
}
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

For consistency with existing multiplier-based identities in this module (such as ETH_4X10GBASE_LR on line 1199), the 'x' in the identity name should be uppercase. Additionally, adding a reference to the relevant specification (e.g., 800G Pluggable MSA) would improve maintainability.

Suggested change
identity ETH_800GBASE_2xFR4 {
base ETHERNET_PMD_TYPE;
description "Ethernet compliance code: 800GBASE_2xFR4";
}
identity ETH_800GBASE_2XFR4 {
base ETHERNET_PMD_TYPE;
description "Ethernet compliance code: 800GBASE_2xFR4";
reference "800G Pluggable MSA";
}

@OpenConfigBot
Copy link
Copy Markdown

OpenConfigBot commented Mar 31, 2026

No major YANG version changes in commit cb9b217

@dplore
Copy link
Copy Markdown
Member

dplore commented Apr 3, 2026

openconfig-transport-types.yang: file updated but openconfig-version string not updated: "1.3.0"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

3 participants